package com.example.myproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("user_ratio_log")
public class UserRatioLog {

    @TableId(value = "ratio_log_id", type = IdType.AUTO)
    private Long ratioLogId;

    @TableField("user_id")
    private Long userId;

    @TableField("time")
    private LocalDateTime time;

    @TableField("upload")
    private Long upload;

    @TableField("download")
    private Long download;
}
